using UnityEngine;
using System.Collections;

public class TweenBlur : NGUITweenValue {
	Renderer m_BlurModel;
	Renderer BlurModel{
		get{
			if(m_BlurModel == null)
				m_BlurModel = gameObject.GetComponent<Renderer>();
			return m_BlurModel;
		}
	}
	public override void ValueChange(float f){
		BlurModel.material.SetFloat ("_blurSizeXY", f);
	}
}
